home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global lastOver
- if rollOver(6) then
- if lastOver <> 6 then
- puppetSound("go")
- updateStage()
- set lastOver to 6
- end if
- else
- if rollOver(7) then
- if lastOver <> 7 then
- puppetSound("stop")
- updateStage()
- set lastOver to 7
- end if
- else
- if rollOver(8) then
- if lastOver <> 8 then
- puppetSound("prepare to stop")
- updateStage()
- set lastOver to 8
- end if
- else
- puppetSound(0)
- set lastOver to 0
- end if
- end if
- end if
- if soundBusy(1) then
- set temp to random(6)
- set temp to temp + 190
- set the castNum of sprite 4 to the number of cast "default head"
- updateStage()
- wait(5)
- else
- puppetSound(0)
- if random(50) = 1 then
- set the castNum of sprite 4 to the number of cast "eyes closed"
- updateStage()
- end if
- end if
- end
-